package com.yyw.common.enums.common;

import lombok.Getter;

/**
 * @Classname OAuth2SourceEnum
 * @Description OAuth2 认证服务 来源 枚举 QQ/微博
 * @Date 2020/12/16 11:23
 * @Created yyw
 */
@Getter
public enum OAuth2SourceEnum {
    OAUTH2_QQ(1, "qq"),
    OAUTH2_WEIBO(2, "weibo");
    private String name;
    private Integer code;

    OAuth2SourceEnum(Integer code, String name) {
        this.name = name;
        this.code = code;
    }
}
